package monitor;

import java.sql.Date;
import periferico.*;

/**
 * Write a description of class Monitor here.
 * 
 * @author (your name) 
 * @version (a version number or a date)
 */
public class Monitor extends Periferico
{
    // atributos
    private int idMonitor;
    private double tamanho;
    private String modelo;

    /**
     * Constructor for objects of class Monitor
     */
    public Monitor()
    {
    }
    
     public Monitor(int idMonitor, String status, String numSerie,String marca,
                      Date dataAquisicao,Date fimGarantia, double tamanho, String modelo)
    {
        this.id = idMonitor;
        this.numSerie=numSerie;
        this.marca=marca;
        this.dataAquisicao = dataAquisicao;
        this.fimGarantia=fimGarantia;
        this.status=status;
        this.tamanho=tamanho;
        this.modelo=modelo;
    }

    /**
     * @return the tamanho
     */
    public double getTamanho() {
        return tamanho;
    }

    /**
     * @param tamanho the tamanho to set
     */
    public void setTamanho(double tamanho) {
        this.tamanho = tamanho;
    }

    /**
     * @return the modelo
     */
    public String getModelo() {
        return modelo;
    }

    /**
     * @param modelo the modelo to set
     */
    public void setModelo(String modelo) {
        this.modelo = modelo;
    }

    /**
     * An example of a method - replace this comment with your own
     * 
     * @param  y   a sample parameter for a method
     * @return     the sum of x and y 
     */
    
}
